package com.fulihui.systemcore.enums;

import org.near.toolkit.model.BaseEnum;

/**
 * 环境类型枚举
 * Created by Willard.Hu on 2016/4/18.
 */
public enum EnvTypeEnum implements BaseEnum {

    DEV("DEV", "开发环境"),

    TEST("TEST", "测试环境"),

    STABLE("STABLE", "稳定环境"),

    RELEASE("RELEASE", "发布环境"),

    ;

    private String code;
    private String desc;

    EnvTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
